Integrand size = 30, antiderivative size = 34 \[ \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx=\sqrt {x} \sqrt {1+a x}+\frac {\text {arcsinh}\left (\sqrt {a} \sqrt {x}\right )}{\sqrt {a}} \]
[Out]
Time = 0.02 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {862, 52, 56, 221} \[ \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx=\frac {\text {arcsinh}\left (\sqrt {a} \sqrt {x}\right )}{\sqrt {a}}+\sqrt {x} \sqrt {a x+1} \]
[In]
[Out]
Rule 52
Rule 56
Rule 221
Rule 862
Rubi steps \begin{align*} \text {integral}& = \int \frac {\sqrt {1+a x}}{\sqrt {x}} \, dx \\ & = \sqrt {x} \sqrt {1+a x}+\frac {1}{2} \int \frac {1}{\sqrt {x} \sqrt {1+a x}} \, dx \\ & = \sqrt {x} \sqrt {1+a x}+\text {Subst}\left (\int \frac {1}{\sqrt {1+a x^2}} \, dx,x,\sqrt {x}\right ) \\ & = \sqrt {x} \sqrt {1+a x}+\frac {\sinh ^{-1}\left (\sqrt {a} \sqrt {x}\right )}{\sqrt {a}} \\ \end{align*}
Time = 1.50 (sec) , antiderivative size = 34, normalized size of antiderivative = 1.00 \[ \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx=\sqrt {x} \sqrt {1+a x}+\frac {\text {arcsinh}\left (\sqrt {a} \sqrt {x}\right )}{\sqrt {a}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(85\) vs. \(2(24)=48\).
Time = 0.36 (sec) , antiderivative size = 86, normalized size of antiderivative = 2.53
method | result | size |
default | \(-\frac {\sqrt {-a^{2} x^{2}+1}\, \sqrt {x}\, \sqrt {-a x +1}\, \left (2 \sqrt {\left (a x +1\right ) x}\, \sqrt {a}+\ln \left (\frac {2 \sqrt {\left (a x +1\right ) x}\, \sqrt {a}+2 a x +1}{2 \sqrt {a}}\right )\right )}{2 \left (a x -1\right ) \sqrt {\left (a x +1\right ) x}\, \sqrt {a}}\) | \(86\) |
risch | \(-\frac {\left (a x +1\right ) \sqrt {x}\, \sqrt {\frac {\left (-a^{2} x^{2}+1\right ) x \left (-a x +1\right )}{\left (a x -1\right )^{2}}}\, \left (a x -1\right )}{\sqrt {\left (a x +1\right ) x}\, \sqrt {-a^{2} x^{2}+1}\, \sqrt {-a x +1}}-\frac {\ln \left (\frac {\frac {1}{2}+a x}{\sqrt {a}}+\sqrt {a \,x^{2}+x}\right ) \sqrt {\frac {\left (-a^{2} x^{2}+1\right ) x \left (-a x +1\right )}{\left (a x -1\right )^{2}}}\, \left (a x -1\right )}{2 \sqrt {a}\, \sqrt {-a^{2} x^{2}+1}\, \sqrt {x}\, \sqrt {-a x +1}}\) | \(153\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 99 vs. \(2 (24) = 48\).
Time = 0.29 (sec) , antiderivative size = 208, normalized size of antiderivative = 6.12 \[ \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx=\left [-\frac {4 \, \sqrt {-a^{2} x^{2} + 1} \sqrt {-a x + 1} a \sqrt {x} - {\left (a x - 1\right )} \sqrt {a} \log \left (-\frac {8 \, a^{3} x^{3} - 4 \, \sqrt {-a^{2} x^{2} + 1} {\left (2 \, a x + 1\right )} \sqrt {-a x + 1} \sqrt {a} \sqrt {x} - 7 \, a x - 1}{a x - 1}\right )}{4 \, {\left (a^{2} x - a\right )}}, -\frac {2 \, \sqrt {-a^{2} x^{2} + 1} \sqrt {-a x + 1} a \sqrt {x} - {\left (a x - 1\right )} \sqrt {-a} \arctan \left (\frac {2 \, \sqrt {-a^{2} x^{2} + 1} \sqrt {-a x + 1} \sqrt {-a} \sqrt {x}}{2 \, a^{2} x^{2} - a x - 1}\right )}{2 \, {\left (a^{2} x - a\right )}}\right ] \]
[In]
[Out]
\[ \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx=\int \frac {\sqrt {- \left (a x - 1\right ) \left (a x + 1\right )}}{\sqrt {x} \sqrt {- a x + 1}}\, dx \]
[In]
[Out]
\[ \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx=\int { \frac {\sqrt {-a^{2} x^{2} + 1}}{\sqrt {-a x + 1} \sqrt {x}} \,d x } \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 89 vs. \(2 (24) = 48\).
Time = 5.45 (sec) , antiderivative size = 89, normalized size of antiderivative = 2.62 \[ \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx=-\frac {a {\left (\frac {\sqrt {2} - \log \left ({\left | -\sqrt {2} \sqrt {a} + \sqrt {a} \right |}\right )}{\sqrt {a}} + \frac {\log \left ({\left | -\sqrt {a x + 1} \sqrt {a} + \sqrt {{\left (a x + 1\right )} a - a} \right |}\right )}{\sqrt {a}} - \frac {\sqrt {{\left (a x + 1\right )} a - a} \sqrt {a x + 1}}{a}\right )}}{{\left | a \right |}} \]
[In]
[Out]
Timed out. \[ \int \frac {\sqrt {1-a^2 x^2}}{\sqrt {x} \sqrt {1-a x}} \, dx=\int \frac {\sqrt {1-a^2\,x^2}}{\sqrt {x}\,\sqrt {1-a\,x}} \,d x \]
[In]
[Out]